package com.qidianit.mes.pro.service;

import com.github.pagehelper.PageInfo;
import com.qidianit.mes.pojo.Result;
import com.qidianit.mes.pojo.pro.WorkflowProduct;

public interface WorkflowProductService {

    /* 接口13 */
    Result<PageInfo<WorkflowProduct>> selectPage(Long workflowId, Integer page, Integer size);

    /* 接口14 */
    Result<String> add(WorkflowProduct wp);

    /* 接口15 */
    Result<WorkflowProduct> selectById(Long id);

    /* 接口16 */
    Result<WorkflowProduct> updateProduct(WorkflowProduct wp);

    /* 接口17 */
    Result<String> deleteProduct(Long id);

    /* 接口18 */
    Result<String> batchDelete(Long[] ids);
}